package facade.pojo;

import decorate.service.Shape;
import facade.service.impl.CircleImpl;
import facade.service.impl.RectangleImpl;

public class Facade {
    private Shape circle;
    private Shape rectangle;

    public Facade(){
        circle = new CircleImpl();
        rectangle = new RectangleImpl();
    }

    public void drawCircle(){
        circle.draw();
    }
    public void drawRectangle(){
        rectangle.draw();
    }
}
